/*
 * Copyright 2009-2014 Tensosoft.
 *  
 * Licensed under the Tensosoft Opensource License (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *  
 *      http://www.tensosoft.com/eula.html
 *  
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tansuosoft.discoverx.app.imgcode;

import java.util.Map;

import com.google.zxing.DecodeHintType;

final class Config {

	private Map<DecodeHintType, ?> hints;
	private boolean tryHarder;
	private boolean pureBarcode;
	private boolean productsOnly;
	private boolean dumpResults;
	private boolean dumpBlackPoint;
	private boolean multi;
	private boolean brief;
	private boolean recursive;
	private int[] crop;
	private String[] possibleFormats;

	Map<DecodeHintType, ?> getHints() {
		return hints;
	}

	void setHints(Map<DecodeHintType, ?> hints) {
		this.hints = hints;
	}

	boolean isTryHarder() {
		return tryHarder;
	}

	void setTryHarder(boolean tryHarder) {
		this.tryHarder = tryHarder;
	}

	boolean isPureBarcode() {
		return pureBarcode;
	}

	void setPureBarcode(boolean pureBarcode) {
		this.pureBarcode = pureBarcode;
	}

	boolean isProductsOnly() {
		return productsOnly;
	}

	void setProductsOnly(boolean productsOnly) {
		this.productsOnly = productsOnly;
	}

	boolean isDumpResults() {
		return dumpResults;
	}

	void setDumpResults(boolean dumpResults) {
		this.dumpResults = dumpResults;
	}

	boolean isDumpBlackPoint() {
		return dumpBlackPoint;
	}

	void setDumpBlackPoint(boolean dumpBlackPoint) {
		this.dumpBlackPoint = dumpBlackPoint;
	}

	boolean isMulti() {
		return multi;
	}

	void setMulti(boolean multi) {
		this.multi = multi;
	}

	boolean isBrief() {
		return brief;
	}

	void setBrief(boolean brief) {
		this.brief = brief;
	}

	boolean isRecursive() {
		return recursive;
	}

	void setRecursive(boolean recursive) {
		this.recursive = recursive;
	}

	int[] getCrop() {
		return crop;
	}

	void setCrop(int[] crop) {
		this.crop = crop;
	}

	String[] getPossibleFormats() {
		return possibleFormats;
	}

	void setPossibleFormats(String[] possibleFormats) {
		this.possibleFormats = possibleFormats;
	}

}

